﻿using System.Configuration;
using System.Web;
using System.Linq;

namespace YawetagDemo.WebUI.Startup
{
    public static class ConfigurationSet
    {
        public static string CONNECTION_STRING
        {
            get { return ConfigurationManager.ConnectionStrings["default-connection-string"].ConnectionString; }
        }

        public static bool IS_IN_PROCESS_WORK
        {
            get { return HttpContext.Current.Request.QueryString.AllKeys.Contains("inprocess"); }
        }
    }
}